package com.entity;

/**
 * UserVote entity. @author MyEclipse Persistence Tools
 */

public class UserVote implements java.io.Serializable {

	// Fields

	private Integer uvid;
	private Vote vote;
	private VoteOption voteOption;
	private VoteUser voteUser;

	// Constructors

	/** default constructor */
	public UserVote() {
	}

	/** full constructor */
	public UserVote(Vote vote, VoteOption voteOption, VoteUser voteUser) {
		this.vote = vote;
		this.voteOption = voteOption;
		this.voteUser = voteUser;
	}

	// Property accessors

	public Integer getUvid() {
		return this.uvid;
	}

	public void setUvid(Integer uvid) {
		this.uvid = uvid;
	}

	public Vote getVote() {
		return this.vote;
	}

	public void setVote(Vote vote) {
		this.vote = vote;
	}

	public VoteOption getVoteOption() {
		return this.voteOption;
	}

	public void setVoteOption(VoteOption voteOption) {
		this.voteOption = voteOption;
	}

	public VoteUser getVoteUser() {
		return this.voteUser;
	}

	public void setVoteUser(VoteUser voteUser) {
		this.voteUser = voteUser;
	}

}